package com.numberma.userservice.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.numberma.userservice.Result.PageResult;
import com.numberma.userservice.Result.Result;

import com.numberma.userservice.entity.Dto.UserDto;
import com.numberma.userservice.entity.Dto.UserIdPasswordDto;
import com.numberma.userservice.entity.Dto.UserLoginDto;
import com.numberma.userservice.entity.Dto.UserPageDto;
import com.numberma.userservice.entity.Users;





public interface IUserService {
    public Result register(Users user) throws JsonProcessingException;
    public Result GetUser(Long UserId);

    Result updateUser(Long userId, UserDto userDto);

    Result resetPassword(UserIdPasswordDto userIdPasswordDto);

    Result login(UserLoginDto userLoginDto);

    PageResult getPageUsers(UserPageDto userPageDto);
}
